////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2011-2012 www.iflytek.com. All Rights Reserved.
//  This software for customer relationship management system, developed by Iflytek_ZY team.
//  Software code and design for the team, copy rights reserved.
////////////////////////////////////////////////////////////////////////////////

package com.iflytek.ci.common.service;

import com.iflytek.ci.main.dto.MailContent;

/**
 * <p>
 * .
 * </p>
 *
 * @author poplar.yfyang
 * @version 1.0 2012-11-10 11:25 AM
 * @since JDK 1.5
 */
public interface MailService {
	/**
	 * 发送邮件通知
	 *
	 * @param content 邮件内容对象
	 */
	void sendNotificationMail(MailContent content,String to);

    /**
     * 简单发送邮件接口
     *
     * @param from     发出方
     * @param to           接收方
     * @param content  邮件内容
     * @param subject    主题
     */
    void sendNotificationMailSimple(String from,String to,String content,String subject);
}
